<template>
  <el-dialog
    title="修改会员等级"
    :visible.sync="visible"
    :before-close="handleClose"
    width="40%"
    class="sfBox"
  >
    <span slot="footer">
      <el-button @click="handleClose">取 消</el-button>
      <el-button type="primary" @click="handleSumbit">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  props: {
    visible: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {};
  },
  watch: {},
  methods: {
    handleClose() {
      this.$emit("outDialog", "showEditLevel", false);
    },
    handleSumbit() {
      this.$emit("outDialog", "showEditLevel", false);
    }
  }
};
</script>

<style lang="scss" scoped></style>
